<template>
  <div id="app">
    <!-- 行，列布局 -->
    <!-- <el-row>
      <el-col :span="8">
        <div class="y"></div>
      </el-col>
      <el-col :span="8">
        <div class="g"></div>
      </el-col>
      <el-col :span="8">
        <div class="r"></div>
      </el-col>
    </el-row> -->

    <!-- 有间隔 gutter栅栏间隔，默认值为0-->
    <el-row :gutter="20">
      <el-col :span="8">
        <div class="y"></div>
      </el-col>
      <el-col :span="8">
        <div class="g"></div>
      </el-col>
      <el-col :span="8">
        <div class="r"></div>
      </el-col>
    </el-row>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
  }
}
</script>

<style lang="less" scoped>
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.y{
  height: 20px;
  background-color: yellow;
}
.g{
  height: 20px;
  background-color: green;
}
.r{
  height: 20px;
  background-color: red;
}
</style>
